<?php 

include'../classes/db.php';
$nic=$_GET['nic'];
$empno=$_GET['empno'];

$x=new DbConnect();
$con=$x->getConnection();
 $result= mysql_query("Select emp_no from employee where nic='$nic'",$con);
 
while($row=mysql_fetch_array( $result))
	{
	 	$emp=$row['emp_no'];
	 }
  
if($empno==$emp)
	{ 
 	 	echo"false";
  	} 
else
	{
  		echo"true";
   	}
?>